<template>
  <div class="avue-logo">
    <transition name="fade">
      <!-- <span v-if="keyCollapse" class="avue-logo_subtitle" key="0">
        {{ website.logo }}
      </span> -->
      <span lass="system-title">{{ website.indexTitle }}</span>
      <!-- <img
        v-if="keyCollapse"
        class="avue-logo_subtitle"
        src="https://rhws.oss-cn-chengdu.aliyuncs.com/pc/logo_108.png"
        style="width: 46px"
        alt=""
        srcset="
      /> -->
    </transition>
  </div>
</template>

<script>
import { mapGetters } from "vuex";
export default {
  name: "logo",
  data() {
    return {};
  },
  created() {},
  computed: {
    ...mapGetters(["website", "keyCollapse"]),
  },
  methods: {},
};
</script>

<style lang="scss">
.fade-leave-active {
  transition: opacity 0.2s;
}
.fade-enter-active {
  transition: opacity 2.5s;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
.avue-logo {
  position: fixed;
  top: 26px;
  left: 40px;
  // width: 160px;
  // height: 64px;
  // line-height: 64px;
  font-size: 20px;
  overflow: hidden;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.8);
  z-index: 1024;
  background: transparent;
  &_title {
    display: block;
    text-align: center;
    font-weight: 300;
    font-size: 20px;
    background: transparent;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
  }
  &_subtitle {
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
  }
}
</style>
